package com.example.filecabinet.entity;

import java.util.ArrayList;
import java.util.List;

public class Lattice_infoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public Lattice_infoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLatticeIdIsNull() {
            addCriterion("LATTICE_ID is null");
            return (Criteria) this;
        }

        public Criteria andLatticeIdIsNotNull() {
            addCriterion("LATTICE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andLatticeIdEqualTo(String value) {
            addCriterion("LATTICE_ID =", value, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdNotEqualTo(String value) {
            addCriterion("LATTICE_ID <>", value, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdGreaterThan(String value) {
            addCriterion("LATTICE_ID >", value, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdGreaterThanOrEqualTo(String value) {
            addCriterion("LATTICE_ID >=", value, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdLessThan(String value) {
            addCriterion("LATTICE_ID <", value, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdLessThanOrEqualTo(String value) {
            addCriterion("LATTICE_ID <=", value, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdLike(String value) {
            addCriterion("LATTICE_ID like", value, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdNotLike(String value) {
            addCriterion("LATTICE_ID not like", value, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdIn(List<String> values) {
            addCriterion("LATTICE_ID in", values, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdNotIn(List<String> values) {
            addCriterion("LATTICE_ID not in", values, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdBetween(String value1, String value2) {
            addCriterion("LATTICE_ID between", value1, value2, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeIdNotBetween(String value1, String value2) {
            addCriterion("LATTICE_ID not between", value1, value2, "latticeId");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberIsNull() {
            addCriterion("LATTICE_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberIsNotNull() {
            addCriterion("LATTICE_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberEqualTo(String value) {
            addCriterion("LATTICE_NUMBER =", value, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberNotEqualTo(String value) {
            addCriterion("LATTICE_NUMBER <>", value, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberGreaterThan(String value) {
            addCriterion("LATTICE_NUMBER >", value, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberGreaterThanOrEqualTo(String value) {
            addCriterion("LATTICE_NUMBER >=", value, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberLessThan(String value) {
            addCriterion("LATTICE_NUMBER <", value, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberLessThanOrEqualTo(String value) {
            addCriterion("LATTICE_NUMBER <=", value, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberLike(String value) {
            addCriterion("LATTICE_NUMBER like", value, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberNotLike(String value) {
            addCriterion("LATTICE_NUMBER not like", value, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberIn(List<String> values) {
            addCriterion("LATTICE_NUMBER in", values, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberNotIn(List<String> values) {
            addCriterion("LATTICE_NUMBER not in", values, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberBetween(String value1, String value2) {
            addCriterion("LATTICE_NUMBER between", value1, value2, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andLatticeNumberNotBetween(String value1, String value2) {
            addCriterion("LATTICE_NUMBER not between", value1, value2, "latticeNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberIsNull() {
            addCriterion("DEVICE_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberIsNotNull() {
            addCriterion("DEVICE_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberEqualTo(String value) {
            addCriterion("DEVICE_NUMBER =", value, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberNotEqualTo(String value) {
            addCriterion("DEVICE_NUMBER <>", value, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberGreaterThan(String value) {
            addCriterion("DEVICE_NUMBER >", value, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberGreaterThanOrEqualTo(String value) {
            addCriterion("DEVICE_NUMBER >=", value, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberLessThan(String value) {
            addCriterion("DEVICE_NUMBER <", value, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberLessThanOrEqualTo(String value) {
            addCriterion("DEVICE_NUMBER <=", value, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberLike(String value) {
            addCriterion("DEVICE_NUMBER like", value, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberNotLike(String value) {
            addCriterion("DEVICE_NUMBER not like", value, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberIn(List<String> values) {
            addCriterion("DEVICE_NUMBER in", values, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberNotIn(List<String> values) {
            addCriterion("DEVICE_NUMBER not in", values, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberBetween(String value1, String value2) {
            addCriterion("DEVICE_NUMBER between", value1, value2, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andDeviceNumberNotBetween(String value1, String value2) {
            addCriterion("DEVICE_NUMBER not between", value1, value2, "deviceNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberIsNull() {
            addCriterion("PLATE_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andPlateNumberIsNotNull() {
            addCriterion("PLATE_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andPlateNumberEqualTo(String value) {
            addCriterion("PLATE_NUMBER =", value, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberNotEqualTo(String value) {
            addCriterion("PLATE_NUMBER <>", value, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberGreaterThan(String value) {
            addCriterion("PLATE_NUMBER >", value, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberGreaterThanOrEqualTo(String value) {
            addCriterion("PLATE_NUMBER >=", value, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberLessThan(String value) {
            addCriterion("PLATE_NUMBER <", value, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberLessThanOrEqualTo(String value) {
            addCriterion("PLATE_NUMBER <=", value, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberLike(String value) {
            addCriterion("PLATE_NUMBER like", value, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberNotLike(String value) {
            addCriterion("PLATE_NUMBER not like", value, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberIn(List<String> values) {
            addCriterion("PLATE_NUMBER in", values, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberNotIn(List<String> values) {
            addCriterion("PLATE_NUMBER not in", values, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberBetween(String value1, String value2) {
            addCriterion("PLATE_NUMBER between", value1, value2, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andPlateNumberNotBetween(String value1, String value2) {
            addCriterion("PLATE_NUMBER not between", value1, value2, "plateNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberIsNull() {
            addCriterion("BUSINESS_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberIsNotNull() {
            addCriterion("BUSINESS_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberEqualTo(String value) {
            addCriterion("BUSINESS_NUMBER =", value, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberNotEqualTo(String value) {
            addCriterion("BUSINESS_NUMBER <>", value, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberGreaterThan(String value) {
            addCriterion("BUSINESS_NUMBER >", value, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberGreaterThanOrEqualTo(String value) {
            addCriterion("BUSINESS_NUMBER >=", value, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberLessThan(String value) {
            addCriterion("BUSINESS_NUMBER <", value, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberLessThanOrEqualTo(String value) {
            addCriterion("BUSINESS_NUMBER <=", value, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberLike(String value) {
            addCriterion("BUSINESS_NUMBER like", value, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberNotLike(String value) {
            addCriterion("BUSINESS_NUMBER not like", value, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberIn(List<String> values) {
            addCriterion("BUSINESS_NUMBER in", values, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberNotIn(List<String> values) {
            addCriterion("BUSINESS_NUMBER not in", values, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberBetween(String value1, String value2) {
            addCriterion("BUSINESS_NUMBER between", value1, value2, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessNumberNotBetween(String value1, String value2) {
            addCriterion("BUSINESS_NUMBER not between", value1, value2, "businessNumber");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeIsNull() {
            addCriterion("BUSINESS_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeIsNotNull() {
            addCriterion("BUSINESS_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeEqualTo(String value) {
            addCriterion("BUSINESS_TYPE =", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeNotEqualTo(String value) {
            addCriterion("BUSINESS_TYPE <>", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeGreaterThan(String value) {
            addCriterion("BUSINESS_TYPE >", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeGreaterThanOrEqualTo(String value) {
            addCriterion("BUSINESS_TYPE >=", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeLessThan(String value) {
            addCriterion("BUSINESS_TYPE <", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeLessThanOrEqualTo(String value) {
            addCriterion("BUSINESS_TYPE <=", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeLike(String value) {
            addCriterion("BUSINESS_TYPE like", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeNotLike(String value) {
            addCriterion("BUSINESS_TYPE not like", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeIn(List<String> values) {
            addCriterion("BUSINESS_TYPE in", values, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeNotIn(List<String> values) {
            addCriterion("BUSINESS_TYPE not in", values, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeBetween(String value1, String value2) {
            addCriterion("BUSINESS_TYPE between", value1, value2, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeNotBetween(String value1, String value2) {
            addCriterion("BUSINESS_TYPE not between", value1, value2, "businessType");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusIsNull() {
            addCriterion("LATTICE_LDLE_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusIsNotNull() {
            addCriterion("LATTICE_LDLE_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusEqualTo(String value) {
            addCriterion("LATTICE_LDLE_STATUS =", value, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusNotEqualTo(String value) {
            addCriterion("LATTICE_LDLE_STATUS <>", value, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusGreaterThan(String value) {
            addCriterion("LATTICE_LDLE_STATUS >", value, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusGreaterThanOrEqualTo(String value) {
            addCriterion("LATTICE_LDLE_STATUS >=", value, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusLessThan(String value) {
            addCriterion("LATTICE_LDLE_STATUS <", value, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusLessThanOrEqualTo(String value) {
            addCriterion("LATTICE_LDLE_STATUS <=", value, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusLike(String value) {
            addCriterion("LATTICE_LDLE_STATUS like", value, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusNotLike(String value) {
            addCriterion("LATTICE_LDLE_STATUS not like", value, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusIn(List<String> values) {
            addCriterion("LATTICE_LDLE_STATUS in", values, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusNotIn(List<String> values) {
            addCriterion("LATTICE_LDLE_STATUS not in", values, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusBetween(String value1, String value2) {
            addCriterion("LATTICE_LDLE_STATUS between", value1, value2, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeLdleStatusNotBetween(String value1, String value2) {
            addCriterion("LATTICE_LDLE_STATUS not between", value1, value2, "latticeLdleStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusIsNull() {
            addCriterion("LATTICE_SWITH_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusIsNotNull() {
            addCriterion("LATTICE_SWITH_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusEqualTo(String value) {
            addCriterion("LATTICE_SWITH_STATUS =", value, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusNotEqualTo(String value) {
            addCriterion("LATTICE_SWITH_STATUS <>", value, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusGreaterThan(String value) {
            addCriterion("LATTICE_SWITH_STATUS >", value, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusGreaterThanOrEqualTo(String value) {
            addCriterion("LATTICE_SWITH_STATUS >=", value, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusLessThan(String value) {
            addCriterion("LATTICE_SWITH_STATUS <", value, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusLessThanOrEqualTo(String value) {
            addCriterion("LATTICE_SWITH_STATUS <=", value, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusLike(String value) {
            addCriterion("LATTICE_SWITH_STATUS like", value, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusNotLike(String value) {
            addCriterion("LATTICE_SWITH_STATUS not like", value, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusIn(List<String> values) {
            addCriterion("LATTICE_SWITH_STATUS in", values, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusNotIn(List<String> values) {
            addCriterion("LATTICE_SWITH_STATUS not in", values, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusBetween(String value1, String value2) {
            addCriterion("LATTICE_SWITH_STATUS between", value1, value2, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeSwithStatusNotBetween(String value1, String value2) {
            addCriterion("LATTICE_SWITH_STATUS not between", value1, value2, "latticeSwithStatus");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1IsNull() {
            addCriterion("LATTICE_REMARKS1 is null");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1IsNotNull() {
            addCriterion("LATTICE_REMARKS1 is not null");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1EqualTo(String value) {
            addCriterion("LATTICE_REMARKS1 =", value, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1NotEqualTo(String value) {
            addCriterion("LATTICE_REMARKS1 <>", value, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1GreaterThan(String value) {
            addCriterion("LATTICE_REMARKS1 >", value, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1GreaterThanOrEqualTo(String value) {
            addCriterion("LATTICE_REMARKS1 >=", value, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1LessThan(String value) {
            addCriterion("LATTICE_REMARKS1 <", value, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1LessThanOrEqualTo(String value) {
            addCriterion("LATTICE_REMARKS1 <=", value, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1Like(String value) {
            addCriterion("LATTICE_REMARKS1 like", value, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1NotLike(String value) {
            addCriterion("LATTICE_REMARKS1 not like", value, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1In(List<String> values) {
            addCriterion("LATTICE_REMARKS1 in", values, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1NotIn(List<String> values) {
            addCriterion("LATTICE_REMARKS1 not in", values, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1Between(String value1, String value2) {
            addCriterion("LATTICE_REMARKS1 between", value1, value2, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks1NotBetween(String value1, String value2) {
            addCriterion("LATTICE_REMARKS1 not between", value1, value2, "latticeRemarks1");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2IsNull() {
            addCriterion("LATTICE_REMARKS2 is null");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2IsNotNull() {
            addCriterion("LATTICE_REMARKS2 is not null");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2EqualTo(String value) {
            addCriterion("LATTICE_REMARKS2 =", value, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2NotEqualTo(String value) {
            addCriterion("LATTICE_REMARKS2 <>", value, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2GreaterThan(String value) {
            addCriterion("LATTICE_REMARKS2 >", value, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2GreaterThanOrEqualTo(String value) {
            addCriterion("LATTICE_REMARKS2 >=", value, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2LessThan(String value) {
            addCriterion("LATTICE_REMARKS2 <", value, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2LessThanOrEqualTo(String value) {
            addCriterion("LATTICE_REMARKS2 <=", value, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2Like(String value) {
            addCriterion("LATTICE_REMARKS2 like", value, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2NotLike(String value) {
            addCriterion("LATTICE_REMARKS2 not like", value, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2In(List<String> values) {
            addCriterion("LATTICE_REMARKS2 in", values, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2NotIn(List<String> values) {
            addCriterion("LATTICE_REMARKS2 not in", values, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2Between(String value1, String value2) {
            addCriterion("LATTICE_REMARKS2 between", value1, value2, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeRemarks2NotBetween(String value1, String value2) {
            addCriterion("LATTICE_REMARKS2 not between", value1, value2, "latticeRemarks2");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeIsNull() {
            addCriterion("LATTICE_UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeIsNotNull() {
            addCriterion("LATTICE_UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeEqualTo(String value) {
            addCriterion("LATTICE_UPDATE_TIME =", value, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeNotEqualTo(String value) {
            addCriterion("LATTICE_UPDATE_TIME <>", value, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeGreaterThan(String value) {
            addCriterion("LATTICE_UPDATE_TIME >", value, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("LATTICE_UPDATE_TIME >=", value, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeLessThan(String value) {
            addCriterion("LATTICE_UPDATE_TIME <", value, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("LATTICE_UPDATE_TIME <=", value, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeLike(String value) {
            addCriterion("LATTICE_UPDATE_TIME like", value, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeNotLike(String value) {
            addCriterion("LATTICE_UPDATE_TIME not like", value, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeIn(List<String> values) {
            addCriterion("LATTICE_UPDATE_TIME in", values, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeNotIn(List<String> values) {
            addCriterion("LATTICE_UPDATE_TIME not in", values, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeBetween(String value1, String value2) {
            addCriterion("LATTICE_UPDATE_TIME between", value1, value2, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("LATTICE_UPDATE_TIME not between", value1, value2, "latticeUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorIsNull() {
            addCriterion("LATTICE_OPERATOR is null");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorIsNotNull() {
            addCriterion("LATTICE_OPERATOR is not null");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorEqualTo(String value) {
            addCriterion("LATTICE_OPERATOR =", value, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorNotEqualTo(String value) {
            addCriterion("LATTICE_OPERATOR <>", value, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorGreaterThan(String value) {
            addCriterion("LATTICE_OPERATOR >", value, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorGreaterThanOrEqualTo(String value) {
            addCriterion("LATTICE_OPERATOR >=", value, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorLessThan(String value) {
            addCriterion("LATTICE_OPERATOR <", value, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorLessThanOrEqualTo(String value) {
            addCriterion("LATTICE_OPERATOR <=", value, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorLike(String value) {
            addCriterion("LATTICE_OPERATOR like", value, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorNotLike(String value) {
            addCriterion("LATTICE_OPERATOR not like", value, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorIn(List<String> values) {
            addCriterion("LATTICE_OPERATOR in", values, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorNotIn(List<String> values) {
            addCriterion("LATTICE_OPERATOR not in", values, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorBetween(String value1, String value2) {
            addCriterion("LATTICE_OPERATOR between", value1, value2, "latticeOperator");
            return (Criteria) this;
        }

        public Criteria andLatticeOperatorNotBetween(String value1, String value2) {
            addCriterion("LATTICE_OPERATOR not between", value1, value2, "latticeOperator");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}